package com.guofen.dao;

import com.guofen.pojo.SjqSolidliquidProduceMaintenanceDay;
import com.guofen.pojo.SjqSolidliquidProduceMaintenanceMonth;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqSolidliquidProduceMaintenanceMonthMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqSolidliquidProduceMaintenanceMonth record);

    int insertSelective(SjqSolidliquidProduceMaintenanceMonth record);

    SjqSolidliquidProduceMaintenanceMonth selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqSolidliquidProduceMaintenanceMonth record);

    int updateByPrimaryKey(SjqSolidliquidProduceMaintenanceMonth record);

    SjqSolidliquidProduceMaintenanceMonth getlatest(@Param("equipment_name") String equipment_name, @Param("maintenance_content") String maintenance_content);

    List<SjqSolidliquidProduceMaintenanceMonth> getOperatorList(String s);

    List<SjqSolidliquidProduceMaintenanceMonth> getExaminerList(String s);

    List<SjqSolidliquidProduceMaintenanceMonth> getMonthRecords(String equipmentName);

    List<SjqSolidliquidProduceMaintenanceMonth> selectAll();

    List<SjqSolidliquidProduceMaintenanceMonth> selectByDate(@Param("startDate") String startDate,
                                                           @Param("endDate") String endDate);
}